package com.totem.product.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ProductCreateVO implements Serializable {
    @NotEmpty
    @Schema(description="产品类型", example="VIRTUAL_PRODUCT")
    private String productType;
    @NotEmpty
    @Schema(description = "商品名称")
    private String productName;
    @Schema(description = "简介")
    private String introductory;

    @Schema(description = "商品图片视频地址")
    @NotNull
    private ProductUrlVO productUrlVO;
    @Schema(description = "商品规格列表")
    @NotNull
    private List<ProductSpecVO> productSpecVOList;
    @Schema(description = "商品详情")
    @NotNull
    private ProductDetailVO productDetailVO;
}
